# 配置密钥
SECRET_KEY = '2359207hsigfoergj'


# 配置数据库
HOSTNAME = '127.0.0.1'
PORT = 3306
USERNAME = 'root'
PASSWORD = '123456'
DATABASE = 'flask_test'
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI


# 授权码：ydevxpkfezjydddd
# 邮箱配置
MAIL_SERVER = 'smtp.qq.com'
MAIL_PORT = 587
MAIL_USE_TLS = True
MAIL_USERNAME = '2949666522@qq.com'
MAIL_PASSWORD = 'ydevxpkfezjydddd'
MAIL_DEFAULT_SENDER = MAIL_USERNAME
